package com.jf.cloud.auth.dto;

import java.io.Serializable;

public class OAuthEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    private String access_token;
    private String token_type;
    private Integer expires_in;
    private String scope;
    private String user;

    public String getAccess_token() {
        return access_token;
    }
    public String getToken_type() {
        return token_type;
    }
    public Integer getExpires_in() {
        return expires_in;
    }
    public String getScope() {
        return scope;
    }
    public String getUser() {
        return user;
    }
    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }
    public void setToken_type(String token_type) {
        this.token_type = token_type;
    }
    public void setExpires_in(Integer expires_in) {
        this.expires_in = expires_in;
    }
    public void setScope(String scope) {
        this.scope = scope;
    }
    public void setUser(String user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "OAuthEntity [access_token=" + access_token + ", token_type=" + token_type + ", expires_in=" + expires_in
                + ", scope=" + scope + ", user=" + user + "]";
    }
}
